// Initialise stats-system event handlers

// Save points on player disconnect
["statsdisconnect", "onPlayerDisconnected", {
	_points = pointsLogic getVariable [_uid, 0];
	["awgDB", _uid, "points", _points] call iniDB_write;
	pointsLogic setVariable [_uid, nil, true];
}] call BIS_fnc_addStackedEventHandler;